Skip to content

Conversation

@maxtara
Copy link
Collaborator

@maxtara maxtara commented Feb 8, 2026

Summary

Fixes UI inconsistency where Directory section had a copy button but Git Branch did not.

Changes

  • Added copy button to \GitBranchWidget\ matching the Directory section pattern
  • Moved worktree indicator from inline badge to the section label as (worktree)\
  • Added \onWorktreeChange\ callback prop to notify parent component of worktree status
  • Updated both expanded and compact sidebar variants for consistency

Before

  • Directory: shows path + copy button
  • Git Branch: shows branch name + worktree badge (no copy button)

After

  • Directory: shows path + copy button
  • Git Branch (worktree): shows branch name + copy button (worktree indicator in label)

…abel

- Add copy button to GitBranchWidget matching Directory section pattern
- Move worktree indicator from badge to label as '(worktree)'
- Add onWorktreeChange callback to notify parent of worktree status
- Update both sidebar variants for consistency
@maxtara
Copy link
Collaborator Author

maxtara commented Feb 8, 2026

From:
image
image

TO:
image
image

@maxtara maxtara force-pushed the feature/branch-name-ui-fix branch 2 times, most recently from 300a609 to 17fdf33 Compare February 8, 2026 01:25
…abel

- Add copy button to GitBranchWidget matching Directory section pattern
- Move worktree indicator from inline badge to section label as '(worktree)'
- Add onWorktreeChange callback to notify parent of worktree status
- Use shared CopyIcon/CheckIcon components
@maxtara maxtara force-pushed the feature/branch-name-ui-fix branch from 17fdf33 to c6d4c18 Compare February 8, 2026 01:30
@maxtara maxtara marked this pull request as draft February 8, 2026 02:17
@maxtara maxtara closed this Feb 8, 2026
@maxtara
Copy link
Collaborator Author

maxtara commented Feb 8, 2026

closing, i missed [avrum](#245) - just added a comment to his

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant